home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 10 / PC Guia 10.iso / makers / main.dir / 00092_Script_92 < prev    next >
Text File  |  1996-03-11  |  2KB  |  74 lines

  1. on startMovie
  2.   global TheSprite,CurrSound,itemDel,Status,ToGo,PrevMovie
  3.   
  4.   if PrevMovie <> "body" or PrevMovie <> "power" then set PrevMovie = "body"
  5.   
  6.  
  7.   put EMPTY into CurrSound
  8.   put 1 into TheSprite
  9.   set the volume of sprite 2 to 255
  10.   set the volume of sprite 1 to 255
  11.   
  12.   set Status = []
  13.   if the machineType = 256 then
  14.     put "\" into itemDel
  15.   else
  16.     put ":" into itemDel
  17.   end if
  18.   set the itemDelimiter to ","
  19.   put "open" into ToGo
  20. end
  21.  
  22. on rollOvers
  23.   global TheSprite
  24.   
  25.   if rollOver(11) then
  26.     put 3 into TheSprite
  27.     go frame "power"
  28.   else if rollOver(12) then
  29.     put 4 into TheSprite
  30.     go frame "body"
  31.   else if rollOver(9) then
  32.     put 9 into TheSprite
  33.     go frame "search"
  34.   else if the mouseCast = 135 then
  35.     changeCast 135 , 18
  36.   else if the mouseCast = 137 then
  37.     changeCast 137 , 19
  38.   end if
  39. end
  40.  
  41. on changeCast theRoll,theSprite
  42.   if not(the name of cast the castNum of sprite theSprite contains "down") then
  43.     set the castNum of sprite theSprite to (the castNum of sprite theSprite) - 1
  44.     updatestage  
  45.     repeat while the mouseCast = theRoll - 1 and not the mouseDown
  46.     end repeat
  47.     set the castNum of sprite theSprite to (the castNum of sprite theSprite) + 1
  48.   end if 
  49. end
  50.  
  51. on disposeRearWindow
  52.   global rwObj
  53.   if the machineType <> 256 then
  54.     if objectP( rwObj ) then rwObj( mDispose )
  55.   end if
  56. end  
  57.  
  58. on stopMovie
  59.   
  60.   puppetSound 0
  61.   puppetSound 2, 0
  62.   
  63.   sound stop 1
  64.   sound stop 2
  65.   sound stop 3
  66.   sound stop 4
  67.   
  68.   puppetSound 0
  69.   puppetSound 2, 0
  70.   unLoadCast 114
  71.   updateStage
  72.   updateStage
  73.   
  74. end